Skip to content

Conversation

tripp528
Copy link

Description

Commented out some preventDefault calls on keypress events that were being called from panes that weren't the target for the event.

Motivation and Context

Text and number property inputs were not functioning when a separate embeddings, text, or image pane was present and had a keypress callback handler registered to it.

Fixes #935

@tripp528
Copy link
Author

I'm not sure what those preventDefault() calls were meant for exactly, but this doesn't seem to have introduced any issues thus far. A cleaner fix might be to check if e.g. the ImagePane was the target before calling preventDefault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text and number input properties not working
1 participant